Pass cpumasks by reference always.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 27 May 2009 10:15:08 +0000 (11:15 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 27 May 2009 10:15:08 +0000 (11:15 +0100)
commitc3da952a0261cb2fa381154a6f22b758a4bd843b
tree92496e6fa23a402388431550351e458deedf84ec
parentcf5e6f2d34413cac233939ab701191655a587ca7
Pass cpumasks by reference always.

Rather than passing cpumasks by value in all cases (which is
problematic for large NR_CPUS configurations), pass them 'by
reference' (i.e. through a pointer to a const cpumask).

On x86 this changes send_IPI_mask() to always only send IPIs to remote
CPUs (meaning any caller needing to handle the current CPU as well has
to do so on its own).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
37 files changed:
xen/arch/ia64/linux-xen/smp.c
xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c
xen/arch/ia64/xen/mm.c
xen/arch/ia64/xen/vhpt.c
xen/arch/x86/acpi/cpufreq/cpufreq.c
xen/arch/x86/acpi/cpufreq/powernow.c
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/cpu/mtrr/main.c
xen/arch/x86/crash.c
xen/arch/x86/domain.c
xen/arch/x86/genapic/x2apic.c
xen/arch/x86/hpet.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/irq.c
xen/arch/x86/machine_kexec.c
xen/arch/x86/mm.c
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c
xen/arch/x86/shutdown.c
xen/arch/x86/smp.c
xen/arch/x86/time.c
xen/common/Makefile
xen/common/cpu.c [new file with mode: 0644]
xen/common/grant_table.c
xen/common/keyhandler.c
xen/common/page_alloc.c
xen/include/asm-ia64/tlbflush.h
xen/include/asm-x86/flushtlb.h
xen/include/asm-x86/genapic.h
xen/include/asm-x86/ipi.h [deleted file]
xen/include/asm-x86/smp.h
xen/include/xen/cpumask.h
xen/include/xen/smp.h
xen/include/xen/softirq.h